package com.youlai.boot.sport.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.sport.model.entity.SportData;
import com.youlai.boot.sport.model.form.SportDataForm;

/**
 * 运动数据对象转换器
 *
 * @author cuisheng
 * @since 2025-03-31 12:41
 */
@Mapper(componentModel = "spring")
public interface SportDataConverter{

    SportDataForm toForm(SportData entity);

    SportData toEntity(SportDataForm formData);
}